$OpenBSD: patch-configure,v 1.2 2014/06/18 05:51:47 pascal Exp $
--- configure.orig	Sun Jun 15 22:34:17 2014
+++ configure	Mon Jun 16 10:04:04 2014
@@ -6181,7 +6181,6 @@ fi
 
 if test x"$with_readline" = xyes -o x"$with_readline" = xmaybe; then :
   save_LIBS="$LIBS"
-    LIBS=
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing readline" >&5
 $as_echo_n "checking for library containing readline... " >&6; }
 if ${ac_cv_search_readline+:} false; then :
@@ -6206,7 +6205,7 @@ return readline ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' readline editline; do
+for ac_lib in '' edit readline editline; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
